package com.dawnClass.VO;

import com.dawnClass.pojo.Article;
import com.dawnClass.pojo.Consumer;

public class ArticleConsumerVO {
    private Article article;
    private Consumer consumer;

    public ArticleConsumerVO(){}

    public ArticleConsumerVO(Article article, Consumer consumer) {
        this.article = article;
        this.consumer = consumer;
    }

    public Article getArticle() {
        return article;
    }

    public void setArticle(Article article) {
        this.article = article;
    }

    public Consumer getconsumer() {
        return consumer;
    }

    public void setconsumer(Consumer consumer) {
        this.consumer = consumer;
    }

    @Override
    public String toString() {
        return "ArticleConsumerVO{" +
                "article=" + article +
                ", consumer=" + consumer +
                '}';
    }
}
